package luj.tool.jnproxyan.proxy.database;

import luj.data.api.type.TypePool;
import org.jooq.DSLContext;

import java.util.concurrent.atomic.AtomicLong;

public class DatabaseState {

  public AtomicLong getNextId() {
    return _nextId;
  }

  public void setNextId(AtomicLong nextId) {
    _nextId = nextId;
  }

  public DSLContext getJooq() {
    return _jooq;
  }

  public void setJooq(DSLContext jooq) {
    _jooq = jooq;
  }

  public TypePool getDataTypes() {
    return _dataTypes;
  }

  public void setDataTypes(TypePool dataTypes) {
    _dataTypes = dataTypes;
  }

  private AtomicLong _nextId;

  private DSLContext _jooq;
  private TypePool _dataTypes;
}
